<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<style>
    ul{
        list-style: none;
        height: 100%;
        margin: 0;
        padding: 0;
        background: #000;
    }
    li{
        float: left;
        color: #fff;
        width: 20%;
        text-align: center;
        cursor: pointer;
        user-select: none;
        border-left: 1px solid #eee;
        box-sizing: border-box;
    }
    li:first-child{
        border-left: none;
    }
</style>
<body>
    <iframe src="./homeIndex.html" id="frame" frameborder="0" style="display:block;height:calc(100vh - 50px)" width="100%" height=`calc(100vh - 100px)`></iframe>
    <div style="height: 50px;line-height: 50px">
        <ul>
            <li onclick="toHome()">home</li>
            <li>radio</li>
            <li>back</li>
            <li>music</li>
            <li>news</li>
        </ul>
    </div>
    <script>
        function toHome(){
            const frame = document.getElementById('frame');
            frame.setAttribute('src','./homeIndex.html')
        }
    </script>
</body>
</html>